﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;
using WareHouse.Domain;

namespace  WareHouse.Domain
{
    /// <summary>
    /// 用户角色表
    /// </summary>
    [SugarTable("Adminrole")]
    public class Adminrole : AuditInfo
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public long  Id { get; set; }
        /// <summary>        
        ///用户外键
        /// </summary>
        public long AdminId{ get; set; }
        /// <summary>        
        ///角色外键
        /// </summary>
        public long RoleId{ get; set; }
     }
 }